-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
front: reorder and redefine map layer groups #10962
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #10962 +/- ##
==========================================
- Coverage 82.56% 80.63% -1.93%
==========================================
Files 1087 1101 +14
Lines 108129 112343 +4214
Branches 742 749 +7
==========================================
+ Hits 89272 90586 +1314
- Misses 18815 21714 +2899
- Partials 42 43 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
front/src/modules/simulationResult/components/SimulationResultsMap/VirtualLayers.tsx
Outdated
Show resolved
Hide resolved
90fbff6
to
56872dd
Compare
LGTM 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice refacto 🙏
However, I'm not sure it solves the bug :/
I can still have the speed limits over the punctual elements
Capture vidéo du 2025-02-27 11-47-49.webm
Sorry, my bad, I was so convinced the above suggestion would work right out of the gate I did not test it. Turns out symbols are not keys, and so Object.keys does not return them. So the map had 0 virtual layers, and so ordering was completely broken. Replacing Object.keys with Object.getOwnPropertySymbols works as intended. '^^ Can you try again @clarani ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ✅
It works very well, thanks !!
Signed-off-by: Alice Khoudli <[email protected]>
9ff4a44
to
fdb6f17
Compare
Close #8302